package com.icbc.digitalwallet.mapper;

import com.icbc.digitalwallet.pojo.entity.BankAccount;
import com.icbc.digitalwallet.pojo.entity.Card;
import com.icbc.digitalwallet.pojo.entity.DigitalWallet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tx
 * @since 2021-07-17
 */
public interface DigitalWalletMapper extends BaseMapper<DigitalWallet> {

    DigitalWallet getUserInfoById(@Param("id") String id);

    List<BankAccount> getCardsInfo(@Param("id") String id);
}
